package com.example.saveword.model;

public class WordRecord {
    private Integer _id; //id
    private Integer wordId; //单词的id
    private Integer level; // 熟悉等级
    private Integer isFlag; // 是否收藏
    private Integer isOk; // 是否记熟
    private long timeFirst; // 第一次
    private long timeReview; // 复习时间
    private Integer correct; // 当日正确次数
    private Integer user_id; // 用户id

    public WordRecord(Integer _id, Integer wordId, Integer level, Integer isFlag,
                      Integer isOk, long timeFirst, long timeRevise, Integer correct, Integer user_id) {
        this._id = _id;
        this.correct = correct;
        this.isFlag = isFlag;
        this.isOk = isOk;
        this.level = level;
        this.timeFirst = timeFirst;
        this.timeReview = timeRevise;
        this.user_id = user_id;
        this.wordId = wordId;
    }
    public WordRecord()
    {

    }
    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Integer get_id() {
        return _id;
    }

    public void set_id(Integer _id) {
        this._id = _id;
    }

    public Integer getWordId() {
        return wordId;
    }

    public void setWordId(Integer wordId) {
        this.wordId = wordId;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getIsFlag() {
        return isFlag;
    }

    public void setIsFlag(Integer isFlag) {
        this.isFlag = isFlag;
    }

    public Integer getIsOk() {
        return isOk;
    }

    public void setIsOk(Integer isOk) {
        this.isOk = isOk;
    }

    public long getTimeFirst() {
        return timeFirst;
    }

    public void setTimeFirst(long timeFirst) {
        this.timeFirst = timeFirst;
    }

    public long getTimeReview() {
        return timeReview;
    }

    public void setTimeReview(long timeRevise) {
        this.timeReview = timeRevise;
    }

    public Integer getCorrect() {
        return correct;
    }

    public void setCorrect(Integer correct) {
        this.correct = correct;
    }
}
